-- GENERATED SPELL FOR [Crazed Northsea Slaver] --


function spell0_24676(pUnit, Event) --@Crazed,Self--
pUnit:FullCastSpellOnTarget(5915,pUnit)
pUnit:RegisterEvent('Sorts_24676', 550, 1)
end

function Sorts_24676(pUnit, Event)
local choix_sorts_24676 = math.random(0, 0)
if choix_sorts_24676 == 0 then
pUnit:RegisterEvent('spell0_24676', 1, 1)
end
end

function mob24676_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24676', math.random(1500, 3000), 1)
end

function mob24676_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24676_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24676_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24676, 1, 'mob24676_Action')
RegisterUnitEvent(24676, 2, 'mob24676_Leave')
RegisterUnitEvent(24676, 3, 'mob24676_Kill')
RegisterUnitEvent(24676, 4, 'mob24676_Die')
